import { Provide } from '@midwayjs/core';
import { Member } from '../interface';

@Provide()
export class MemberService {
  async getUser(options: Member) {
    console.log(options.id)
    return {
      uid: options.id,
      age: options.age,
      name: options.name
    };
  }
}
